<!-- Váriavies -->
<% now = DateTime.now %>
<% date = Date.new(now.year,now.month, now.day) %>
<% hoje4 = date.to_s(:db) %>

<h2><span>RESUMO</span></h2>

<div class="hora">
  <img id='spinner' style="display:none" src='/images/indicator_arrows.gif'>
  <span id='hora'>RELÓGIO</span>
</div>

  <%= periodically_call_remote(:url => {
      :action => 'resumo_partial'},
    :frequency => @tempo_relatorio,
    :update => 'resumo',
    :before => %(Element.show('spinner')),
    :success => %(Element.hide('spinner'))) %>
  <div id='resumo'>
  </div>
